package cn.edu.cqu.newslab.dao;

import cn.edu.cqu.newslab.model.User;
/**
 * 
* @ClassName: IUserDao
* @Description: TODO(User数据连接对象接口)
* @author dongatoong
* @date 2013-1-5 下午4:34:18
*
 */
public interface IUserDao {
	/**
	 * @Title: findUserByFirstName
	 * @Description: TODO(通过firstName获取User对象)
	 * @param @param firstName
	 * @param    
	 * @return User    返回类型
	 * @throws
	 */
	public User findUserByFirstName(String firstName);
	/**
	 * 
	 * @Title: findUserByLastName
	 * @Description: TODO(通过lastName获取User对象)
	 * @param @param lastName
	 * @param    设定文件
	 * @return User    返回类型
	 * @throws
	 */
	public User findUserByLastName(String lastName);
	public void init();
	public void destory();
}
